/*
 * Created by JFormDesigner on Thu Mar 26 23:48:18 BRT 2009
 */

package visualCAD;

import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;

/**
 * @author felipe ff
 */
public class AboutWindow extends JFrame {
	public AboutWindow() {
		initComponents();
	}

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		// Generated using JFormDesigner Evaluation license - felipe ff
		okButton = new JButton();
		label1 = new JLabel();
		label2 = new JLabel();
		label3 = new JLabel();
		label4 = new JLabel();
		label5 = new JLabel();
		label6 = new JLabel();

		//======== this ========
		setTitle("About");
		setResizable(false);
		setVisible(true);
		Container contentPane = getContentPane();

		//---- okButton ----
		okButton.setText("OK");

		//---- label1 ----
		label1.setIcon(new ImageIcon(getClass().getResource("/Images/3_EMC_logo.gif")));

		//---- label2 ----
		label2.setIcon(new ImageIcon(getClass().getResource("/Images/figgrima2.jpg")));

		//---- label3 ----
		label3.setIcon(new ImageIcon(getClass().getResource("/Images/ufsc.jpg")));

		//---- label4 ----
		label4.setText("Programa desenvolvido por: Julio C\u00e9sar Ticona Benavente");
		label4.setFont(new Font("Tahoma", Font.PLAIN, 15));

		//---- label5 ----
		label5.setText("Colabora\u00e7\u00e3o: Felipe Santos Eberhardt");
		label5.setFont(new Font("Tahoma", Font.PLAIN, 15));

		//---- label6 ----
		label6.setText("Orienta\u00e7\u00e3o: Jo\u00e3o Carlos Esp\u00edndola Ferreira");
		label6.setFont(new Font("Tahoma", Font.PLAIN, 15));

		GroupLayout contentPaneLayout = new GroupLayout(contentPane);
		contentPane.setLayout(contentPaneLayout);
		contentPaneLayout.setHorizontalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addGroup(contentPaneLayout.createParallelGroup()
						.addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
							.addComponent(label2)
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 88, Short.MAX_VALUE)
							.addComponent(label3)
							.addGap(27, 27, 27)
							.addComponent(label1, GroupLayout.PREFERRED_SIZE, 109, GroupLayout.PREFERRED_SIZE))
						.addComponent(okButton, GroupLayout.Alignment.TRAILING, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE)
						.addComponent(label4)
						.addComponent(label5)
						.addComponent(label6))
					.addContainerGap())
		);
		contentPaneLayout.setVerticalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addComponent(label4)
					.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
					.addComponent(label5)
					.addGap(18, 18, 18)
					.addComponent(label6)
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 151, Short.MAX_VALUE)
					.addGroup(contentPaneLayout.createParallelGroup()
						.addComponent(label3)
						.addComponent(label2)
						.addGroup(contentPaneLayout.createSequentialGroup()
							.addComponent(label1)
							.addGap(77, 77, 77)
							.addComponent(okButton)))
					.addContainerGap())
		);
		setSize(485, 450);
		setLocationRelativeTo(getOwner());
		// JFormDesigner - End of component initialization  //GEN-END:initComponents
	}

	// JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
	// Generated using JFormDesigner Evaluation license - felipe ff
	public JButton okButton;
	private JLabel label1;
	private JLabel label2;
	private JLabel label3;
	private JLabel label4;
	private JLabel label5;
	private JLabel label6;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
